@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Poppins',sans-serif;
}
html,body{
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-color: var(--pri);
}
:root{
    --pri:#fff;
    --sec:#070808;
}
.light-theme{
    --pri:#070808;
    --sec:#fff;
}

#icon{
    width: 20px;
    cursor: pointer;
    margin-left: 10px;
}
.max-width{
    max-width: 1300px;
    padding: 0 20px;
    margin: auto;
}
                                            /*Navbar*/
nav{
    margin-top: 10px;
    background: #f03226;
}
nav ul{
    flex: 1;
    text-align: right;
}
nav::after{
    content: "";
    clear: both;
    display: table;
}
nav menu{
    flex: 5;
    float: left;
    list-style: none;
    margin-right:10px;
    position: relative;  
}
.navbar{
    position: fixed;
    width: 100%;
    z-index: 999;
    padding:  5px 0;
    font-family:'Ubuntu', sans-serif;
    transition: all 0.3s ease;
}
.navbar.sticky{
    padding:  5px 0;
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo img{
    margin: 0;
    width: 350px;
    height: 50px;
}

.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color:var(--pri);
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: colour 0.3s ease;
}
.navbar .menu li a:hover{
    color:rgb(173, 19, 19);
}
.navbar.sticky .menu li a:hover{
    color:rgb(173, 19, 19);
}
/*Dropdown*/
.navbar .menu .dropmenu{
    position: fixed;
    text-align: center;
    background-color: #f03226;
    width: 150px;
    border:  3px solid crimson;
    opacity: 0;
    visibility: hidden;
    transition: top 0.3s;
}
.navbar .menu li:hover .dropmenu {
    border: none;
    top: 52px;
    opacity: 1;
    visibility: visible;
    transition: top 0.5s ;
}

.navbar .menu .dropmenu li{
    display: list-item;
    border-bottom: 1px solid black;
}
.navbar .menu .dropmenu li a{
    line-height: 40px;
    margin-left: -5px;
}
.menu-btn{
    color: var(--pri);
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.container .box{
    position: relative;
    width: 380px;
    height: 420px;
    background-color:#1c1c1c;
    border-radius: 8px;
    overflow: hidden;
}
.container .box::before
{
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg,transparent,#f03226,#f03226);
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
}
.container .box::after
{
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg,transparent,#f03226,#f03226);
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
    animation-delay: -3s;
}
@keyframes animate{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
.container .form{
    position: absolute;
    inset: 2px;
    border-radius: 8px;
    background: #28292d;
    z-index: 10;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
}
.container .form h2{
    color: #f03226;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.1em;
}
.container .inputBox {
    position: relative;
    width: 300px;
    margin-top: 35px;
}
.container .inputBox input{
    position: relative;
    width: 100%;
    padding: 20px 10px 10px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1em;
    letter-spacing: 0.05em;
    z-index: 10;
}
.container .inputBox span{
    position: absolute;
    left: 0;
    padding: 20px 0px 10px;
    font-size: 1em;
    color: #8f8f8f;
    pointer-events: none;
    letter-spacing: 0.05em;
    transition: 0.5s;
}
.container .inputBox input:valid ~ span,
.container .inputBox input:focus ~ span
{
    color: #f03226;
    transform: translateX(0px) translateY(-34px);
    font-size: 0.75em;
}
.container  .inputBox i {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #f03226;
    border-radius: 4px;
    transition: 0.5s;
    pointer-events: none;
    z-index: 9;
}
.container  .inputBox input:valid ~ i,
.container  .inputBox input:focus ~ i
{
    height: 44px;
}
.container .links a{
    margin: 10px 0;
    font-size: 0.75em;
    color: #8f8f8f;
}
.container .links a:hover
{
    color: #f03226;
}
input[type="submit"]{
    border: none;
    outline: none;
    background: #f03226;
    padding: 11px 25px;
    width: 100px;
    margin-top: 40px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}
input[type="submit"]:active{
    opacity: 0.7;
}

/*resposive media query */


@media (max-width:1300px){

}
@media (max-width:1105px){

}

@media (max-width:990px){
    .max-width{
        padding: 0 40px;
    }
}

@media (max-width:950px){
    /*Navbar*/
    .max-width{
        padding: 0 50px;
    }
    .navbar .logo img{
        margin: 0;
        width: 350px;
        height: 50px;
    }
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before{
        content: "\f00d";
    }
    .navbar .menu{
        position: fixed;
        height: 100vh;
        width: 50%;
        left: -100%;
        top: 0;
        background-color:var(--sec);
        text-align: center;
        padding-top: 80px;
        transition: all 0.2s ease;
    }
    .navbar .menu.active{
        left: 0;
   }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .navbar .menu .dropmenu{
        position: absolute;
        display:none;
        margin-left: 10px;
        border-top: none;
        float: none;
        margin-top: 105px;
        background-color: transparent;
        border-color: transparent;
    }
    .navbar .menu .dropmenu li{
        position:relative;
        display: list-item;
    }

    .navbar .menu .dropmenu li a{
        line-height: 10px;
    }
    .navbar .menu li:hover .dropmenu{
        visibility: hidden;
    }
    .navbar .menu li .dropmenu.active {
        visibility: visible;
        display: contents;
    }
}
@media (max-width:690px){
    body{
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }    

    .navbar .logo img{
        margin: 0;
        width: 300px;
        height: 40px;
    }
    .navbar{
        padding: 10px 0;
    }
    .navbar.sticky{
        padding:  10px 0;
    }
}
@media (max-width:500px){
    body{
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }
    .max-width{
        padding: 0 10px;
    }
                    
    .navbar .logo img{
        margin: 0;
        width: 200px;
        height: 30px;
        margin-left: -15px;
    }
    .navbar{
        padding: 10px 0;
        align-items: center;
    }
    .navbar.sticky{
        padding:  10px 0;
    }
}